<template>
	<!-- title部分 -->
	<view class="title">
		<view class="title_leftbox" @click="goToWode">
			<image class="title_leftbox_image_fanhui" src="../../static/返回.png"></image>
		</view>
		<view class="title_middlebox">
			<view class="title_middlebox_text">保存记录</view>
		</view>
		<view class="title_rightbox">
			<view class="title_rightbox_text">编辑</view>
		</view>
	</view>

	<!-- 记录部分 -->
	<view class="jilubox">
		<!-- 一条记录 -->
		<view class="jilubox_nrbox">
			<view class="jilubox_nrbox_textbox">
				<view class="jilubox_nrbox_textbox_text">·</view>
				<view class="jilubox_nrbox_textbox_text1">2024-09-19 11:26:01</view>
				<view class="jilubox_nrbox_textbox_text2">已截止</view>
			</view>
			<view class="jilubox_nrbox_text3">福彩3D</view>
			<view class="jilubox_nrbox_textbox2">
				<view class="jilubox_nrbox_textbox2_text1">直选</view>
				<view class="jilubox_nrbox_textbox2_text2">24元</view>
			</view>
		</view>

		<!-- 一条记录 -->
		<view class="jilubox_nrbox">
			<view class="jilubox_nrbox_textbox">
				<view class="jilubox_nrbox_textbox_text">·</view>
				<view class="jilubox_nrbox_textbox_text1">2024-09-19 11:26:01</view>
				<view class="jilubox_nrbox_textbox_text2">已截止</view>
			</view>
			<view class="jilubox_nrbox_text3">竞彩足球</view>
			<view class="jilubox_nrbox_textbox2">
				<view class="jilubox_nrbox_textbox2_text1">让球胜平负</view>
				<view class="jilubox_nrbox_textbox2_text2">2元</view>
			</view>
		</view>

		<view class="jiludibutext">没有更多了</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goToWode() {
				// 在tabbar中使用uniapp的switchTab方法跳转
				uni.switchTab({
					url: '/pages/wode/wode', // 我的路径
				});
			},
		}
	}
</script>

<style>
	page {
		background-color: #eeeeee;
	}

	/* 以下是title部分样式 */
	.title {
		background-color: rgb(226, 50, 52);
		display: flex;
		align-items: center;
		justify-content: space-between;
		/* 使左右盒子分别位于两侧 */
		padding: 2%;
	}

	.title_leftbox {
		display: flex;
		align-items: center;
		justify-content: center;
		/* 使图标居中 */
	}

	.title_leftbox_image_fanhui {
		width: 17px;
		height: 17px;
	}

	.title_middlebox {
		flex-grow: 1;
		/* 使中间盒子占据剩余空间 */
		display: flex;
		align-items: center;
		justify-content: center;
		/* 使文本居中 */
	}

	.title_middlebox_text {
		font-size: 20px;
		color: white;
		font-weight: 500;
	}

	.title_rightbox {
		display: flex;
		align-items: center;
		justify-content: center;
		/* 使文本居中 */
	}

	.title_rightbox_text {
		color: white;
	}

	/* 记录部分 */

	.jilubox {
		padding: 2%;
	}

	.jilubox_nrbox {
		background: white;
		padding: 2%;
		margin-top: 2%;
		border-radius: 16px;
		margin-bottom: 6%;
	}

	.jilubox_nrbox_textbox {
		display: flex;
		align-items: center;
		padding-bottom: 5%;
	}

	.jilubox_nrbox_textbox_text {
		color: #cccccc;
	}

	.jilubox_nrbox_textbox_text1 {
		color: #999;
		font-size: 15px;
		flex: 1;
	}

	.jilubox_nrbox_textbox_text2 {
		font-size: 15px;
		color: #cccccc;
	}

	.jilubox_nrbox_text3 {
		color: #333;
		font-weight: 400;
	}

	.jilubox_nrbox_textbox2 {
		display: flex;
	}

	.jilubox_nrbox_textbox2_text1 {
		margin-top: 8px;
		color: #666;
		font-size: 17px;
		flex: 1;
	}

	.jilubox_nrbox_textbox2_text2 {
		font-size: 20px;
		font-weight: 900;
	}

	.jiludibutext {
		width: 100%;
		text-align: center;
		color: rgb(153, 160, 168);
		font-size: 15px;
	}
</style>
